projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70244fc
)
babl-mutex: Local headers first, remove unused
author
Jon Nordby
<jononor@gmail.com>
Wed, 18 Mar 2015 15:19:24 +0000
(16:19 +0100)
committer
Jon Nordby
<jononor@gmail.com>
Wed, 18 Mar 2015 15:24:43 +0000
(16:24 +0100)
Ensures the feature macros are set for all includes,
and that the public header does not implicitly rely
on any of the headers included in .c file
babl/babl-mutex.c
patch
|
blob
|
history
diff --git
a/babl/babl-mutex.c
b/babl/babl-mutex.c
index eacd37222230b051b22794086deaff765a4c45e0..708c54a7074d67729f33f6ed1abd98d613307671 100644
(file)
--- a/
babl/babl-mutex.c
+++ b/
babl/babl-mutex.c
@@
-17,12
+17,10
@@
*/
#include "config.h"
-#include <stdint.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "babl-mutex.h"
+#include <stdlib.h>
+
BablMutex *
babl_mutex_new (void)
{